package com.fcat.base.server.model;

import java.io.Serializable;

public class Cpu  implements Serializable {

    private static final long serialVersionUID = 8347541801285991743L;
    /**
     * 用户空间占用CPU的百分比
     */
    private double us;
    /**
     * 内核空间占用CPU的百分比。
     */
    private double sy;
    /**
     * 改变过优先级的进程占用CPU的百分比
     */
    private double ni;
    /**
     * 空闲CPU百分比
     */
    private double id;
    /**
     * IO等待占用CPU的百分比
     */
    private double wa;
    /**
     * 硬中断（Hardware IRQ）占用CPU的百分比
     */
    private double hi;
    /**
     * 软中断（Software Interrupts）占用CPU的百分比
     */
    private double si;
    private double st;

    private double usedRate;

    public double getUs() {
        return us;
    }

    public void setUs(double us) {
        this.us = us;
    }

    public double getSy() {
        return sy;
    }

    public void setSy(double sy) {
        this.sy = sy;
    }

    public double getNi() {
        return ni;
    }

    public void setNi(double ni) {
        this.ni = ni;
    }

    public double getId() {
        return id;
    }

    public void setId(double id) {
        this.id = id;
    }

    public double getWa() {
        return wa;
    }

    public void setWa(double wa) {
        this.wa = wa;
    }

    public double getHi() {
        return hi;
    }

    public void setHi(double hi) {
        this.hi = hi;
    }

    public double getSi() {
        return si;
    }

    public void setSi(double si) {
        this.si = si;
    }

    public double getSt() {
        return st;
    }

    public void setSt(double st) {
        this.st = st;
    }

    public double getUsedRate() {
        return usedRate;
    }

    public void setUsedRate(double usedRate) {
        this.usedRate = usedRate;
    }
}
